package com.rd.student.jiaji.class3.caiyuxin.java7_31;

import java.util.Collections;
import java.util.LinkedList;

public class RonNum4 {
    public static void main(String[] args) {
        LinkedList list=new LinkedList();
        for (int i=0;i<50;i++) {
            list.add(i);

        }

        Collections.shuffle(list);
        for (int i=0;i<20;i++){
            System.out.println(list.get(i));
        }
    }
}
